package com.zlx.redismessage.component;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @PackageName: com.jingtoo.detection.common.component
 * @ClassName: TaskComponent
 * @Author: gaoYuan
 * @Date: 2022/5/6 16:05
 * @Description: TaskComponent 工程启动时初始化已开启的任务
 */
//@Component
public class TaskComponent {

    private Logger logger = LoggerFactory.getLogger(TaskComponent.class);

//    @Bean
//    public void initTask() {
//        logger.info("初始化检测任务...");
//		ScheduleUtils.start(new DetectionTask("1"), new Date());
//    }
}
